package com.bac.rentmap.ad.batch.correction;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Correction {

    @PrimaryKey
    private String uri;

    @Persistent
    private Double value;


    Correction(String uri, double value) {
        this.uri = uri;
        this.value = value;
    }
    public String getUri() {
        return uri;
    }
    public Double getValue() {
        return value;
    }

    @Override
    public String toString() {
        return uri + ":" + value;
    }
    public void setValue(Double value) {
        this.value = value;
    }
}
